package com.haixiaoke.saas.common.constant;

/**
 * 合同常量类
 * @Author panda
 * @Date 2024/5/31
 **/
public class ContractConstants {

    //region 合同模板字段常量
    /**
     * 模板类型:1.个人纸质合同
     */
    public static final String TEMPLATE_TYPE_PERSONAL_PAPER = "1";

    /**
     * 模板类型:2.企业纸质合同;
     */
    public static final String TEMPLATE_TYPE_ENTERPRISE_PAPER = "2";

    /**
     * 模板类型:3.房屋委托合同;
     */
    public static final String TEMPLATE_TYPE_HOUSE_COMMISSION = "3";

    /**
     * 模板类型:4.服务合同;
     */
    public static final String TEMPLATE_TYPE_SERVICE = "4";

    /**
     * 启用状态:0.显示
     */
    public static final String TEMPLATE_STATE_SHOW = "0";

    /**
     * 启用状态:1.隐藏
     */
    public static final String TEMPLATE_STATE_CONCEAL = "1";
    //endregion

    //region 租客合同字段常量
    /**
     * 合同状态:1.待确认
     */
    public static final String LESSEE_CONTRACT_STATUS_UNCONFIRMED = "1";

    /**
     * 合同状态:2.签署中
     */
    public static final String LESSEE_CONTRACT_STATUS_BE_SIGNING = "2";

    /**
     * 合同状态:3.签署完成
     */
    public static final String LESSEE_CONTRACT_STATUS_SIGN_OFF = "3";

    /**
     * 合同状态:4.已终止
     */
    public static final String LESSEE_CONTRACT_STATUS_TERMINATED = "4";

    /**
     * 合同状态:5.已逾期
     */
    public static final String LESSEE_CONTRACT_STATUS_OVERDUE = "5";

    /**
     * 承租方式:1.个人
     */
    public static final String LESSEE_TYPE_PERSON = "1";

    /**
     * 承租方式:2.企业
     */
    public static final String LESSEE_TYPE_ENTERPRISE = "2";

    /**
     * 签署方式:1.平台与租客签约
     */
    public static final String SIGNING_MODE_PLATFORM = "1";

    /**
     * 签署方式:2.业主与租客签约
     */
    public static final String SIGNING_MODE_PROPRIETOR = "2";

    /**
     * 合同类型:1.个人纸质合同
     */
    public static final String CONTRACT_TYPE_PERSONAL_PAPER = "1";

    /**
     * 合同类型:2.企业纸质合同
     */
    public static final String CONTRACT_TYPE_ENTERPRISE_PAPER = "2";

    /**
     * 合同类型:3.电子合同
     */
    public static final String CONTRACT_TYPE_ELECTRONIC = "3";

    /**
     * 甲方乙方通用签署标识:0,没签
     */
    public static final String UN_SIGNED_FLAG = "0";

    /**
     * 甲方乙方通用签署标识:1.已签
     */
    public static final String HAVE_SIGNED_FLAG = "1";
    //endregion

    //region 业主合同常量
    /**
     * 业主类型:1.个人业主
     */
    public static final String PROPRIETOR_TYPE_PERSON = "1";

    /**
     * 业主类型:2.企业业主
     */
    public static final String PROPRIETOR_TYPE_ENTERPRISE = "2";

    /**
     * 房屋委托:1.待开通
     */
    public static final String HOUSE_COMMISSION_STATUS_WAIT = "1";

    /**
     * 房屋委托:2.已完成
     */
    public static final String HOUSE_COMMISSION_STATUS_FINISH = "2";

    /**
     * 合同类型:1.房屋委托合同
     */
    public static final String COOPERATION_TYPE_HOUSE_COMMISSION = "1";

    /**
     * 合同类型:2.代理服务合同
     */
    public static final String COOPERATION_TYPE_AGENCY_SERVICE = "2";

    /**
     * 签署方式:1.电子合同
     */
    public static final String SIGNING_MODE_ELECTRONIC = "1";

    /**
     * 签署方式:2.纸质合同
     */
    public static final String SIGNING_MODE_PAPER = "2";
    //endregion

    //region 代理服务常量
    /**
     * 电子签认证状态:1.待认证
     */
    public static final String ELECTRONIC_VISA_STATUS_UN_AUTH = "1";

    /**
     * 电子签认证状态:2.已认证
     */
    public static final String ELECTRONIC_VISA_STATUS_AUTH = "2";

    //endregion
}
